// loading对象
export interface Loading {
  status: boolean;
}
// 数据状态
export enum DataStatus{
  Inactivated, Normal, Deleted
}
// 性别枚举对象
export enum UserSex{
  Inactivated, Boy, Girl
}
// 通用windUser接口
export interface WindUser{
  userId: string;
  userLevel: number;
  userStatus: DataStatus;
  userStatusText: string;
  userNickName: string;
  userSex: UserSex;
  userSexText: string;
  userAvatar: string;
  createById: string;
  createDate: string;
  updateById: string;
  updateDate: string;
  userEmail: string;
  userMobile: string;
  userRealName: string;
}

// 字典类
export interface Dictionary{
  text: string;
  value: number;
}

// 操作按钮的类
export interface OperateButton<T> {
  title: string;
  action: (scope: {row: T}) => any;
  isShow: (scope: {row: T}) => boolean
}
